<template>
  <global-template>
    <template>
      <el-aside width="200px">
        <left-menu :menu-data="leftMenu"></left-menu>
      </el-aside>
      <el-main>
        <router-view/>
      </el-main>
    </template>
  </global-template>
</template>

<script>
import leftMenu from "@/components/left-menu";

/**
 * {我的办公}
 *
 * @author: 宋康
 * @date: 2023/1/30
 */
export default {
  name: "index",
  components: {
    leftMenu
  },
  data() {
    return {
      leftMenu: [{
        "mid": "22_1",
        "mlid": "22_1_1",
        "mname": "我的审批",
        "route": "/work/approval",
        "query": {},
        "child": []
      },{
        "mid": "22_1",
        "mlid": "22_1_2",
        "mname": "我的申请",
        "route": "/work/apply",
        "query": {},
        "child": []
      },{
        "mid": "22_1",
        "mlid": "22_1_3",
        "mname": "我的资源",
        "route": "/work/resource",
        "query": {},
        "child": []
      },{
        "mid": "22_1",
        "mlid": "22_1_4",
        "mname": "我的收藏",
        "route": "/work/collect",
        "query": {},
        "child": []
      // },{
      //   "mid": "22_1",
      //   "mlid": "22_1_5",
      //   "mname": "我的纠错",
      //   "route": "/work/approval",
      //   "query": {},
      //   "child": []
      },{
        "mid": "22_1",
        "mlid": "22_1_6",
        "mname": "我的专题",
        "route": "/work/approval",
        "query": {},
        "child": []
      }]
    }
  }
}
</script>

<style lang="scss" scoped>
.min-app {
  min-height: calc(100vh - 364px);
  background-color: #ffffff;
}
</style>